package com.example.lianjuan.Presenter.impl;

import com.example.lianjuan.Base.IPresenterCallback;
import com.example.lianjuan.Model.domain.Categories;
import com.example.lianjuan.View.IHomeCallback;

/**
 * @author 81067
 */
public interface IHomePresenter extends IPresenterCallback<IHomeCallback> {
    /**
     * 获取商品分类
     */
    void getCategory();

    /**
     * 请求注册
     *
     * @param callback
     */
    @Override
    void registerViewCallback(IHomeCallback callback);

    /**
     * 取消注册
     *
     * @param callback
     */
    @Override
    void unregisterViewCallback(IHomeCallback callback);
}
